# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Stefano Esposito <ragnarok@email.it>

pkgname=emacs-python-mode
pkgver=6.3.0
pkgrel=1
pkgdesc="Python mode for Emacs"
url="https://launchpad.net/python-mode"
license=("GPL")
arch=('any')
depends=('emacs')
install=emacs-python-mode.install
source=("https://stable.melpa.org/packages/python-mode-$pkgver.tar")
sha256sums=('7f9594f3147c3314d87cf9b15ef24d41ac574fde3f8a4c06644d55a7363f3325')

package() {
  cd "$srcdir"/python-mode-$pkgver
  install -dm755 "$pkgdir"/usr/share/emacs/site-lisp/
  install -Dm644 *.el "$pkgdir"/usr/share/emacs/site-lisp/
  rm -f "$pkgdir"/usr/share/emacs/site-lisp/pymacs.*
}
